package com.hua.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hua.common.Response;
import com.hua.domain.Teabottom;

import java.util.List;

/**
 * @author Distance
 * @description 针对表【teabottom(茶底表)】的数据库操作Service
 * @createDate 2022-10-19 19:13:26
 */
public interface TeabottomService extends IService<Teabottom> {

    /**
     * @Description: 获取所有茶底
     * @Param: 无
     * @return: Response<List < Teabottom>>
     * @Author: 黄燕峰
     */
    Response<List<Teabottom>> getAll();

    /**
     * @Description: 根据teaId修改茶底
     * @Param: Teabottom
     * @return: Response<String>
     * @Author: 黄燕峰
     */
    Response<String> updateTeabottomById(Teabottom teabottom);

    /**
     * @Description: 新增茶底
     * @Param: String
     * @return: Response<String>
     * @Author: 黄燕峰
     */
    Response<String> insertTeaBottom(Teabottom teabottom);

    /**
     * @Description: 根据teaId删除茶底
     * @Param: Integer
     * @return: Response<String>
     * @Author: 黄燕峰
     */
    Response<String> deleteTeaBottomById(Integer teaId);

}
